package com.example.workshop.lesson2;

import com.example.workshop.lesson1.ContentBasedFilter;

public class RecommenderImplementation {
    private Filter f;

    public RecommenderImplementation(Filter f) {
        super();
        this.f = f;
    }

    public String [] recommendMovies(String movie){
        System.out.println("打印正在使用的Filter是："+f+"\n");
       String result[]= f.GetCommendations("流浪地球");
       return result;
    }
}
